package com.eduhzy.ttw.work.mvp.model.entity;

import com.luck.picture.lib.entity.LocalMedia;

/**
 * @author xubo
 * @date 2018/12/1 10:38
 */
public class WorkSubmitData {
    public static final String ERROR = "error";
    boolean uploadComplete;
    boolean uploading;
    LocalMedia mLocalMedia;
    String url;
    int position;
    long uploadId;
    String type = "";

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isUploadComplete() {
        return uploadComplete;
    }

    public void setUploadComplete(boolean uploadComplete) {
        this.uploadComplete = uploadComplete;
    }

    public boolean isUploading() {
        return uploading;
    }

    public void setUploading(boolean uploading) {
        this.uploading = uploading;
    }

    public LocalMedia getLocalMedia() {
        return mLocalMedia;
    }

    public WorkSubmitData setLocalMedia(LocalMedia localMedia) {
        mLocalMedia = localMedia;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public long getUploadId() {
        return uploadId;
    }

    public void setUploadId(long uploadId) {
        this.uploadId = uploadId;
    }
}
